package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the reimbursements_tbl database table.
 * 
 */
@Entity
@Table(name="reimbursements_tbl")
public class Reimbursement extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="REIMB_CODE")
	private int reimbCode;

	@Column(name="REIMB_AMT")
	private String reimbAmt;

	@Column(name="REIMB_APPRV_NAME")
	private String reimbApprvName;

	@Temporal(TemporalType.DATE)
	@Column(name="REIMB_DATE")
	private Date reimbDate;

	@Column(name="REIMB_DESC")
	private String reimbDesc;

	@Column(name="REIMB_MAX_LIMIT")
	private String reimbMaxLimit;

	@Column(name="REIMB_PRIOD")
	private String reimbPriod;

	//bi-directional many-to-one association to EmployeeProject
	@ManyToOne
	@JoinColumn(name="EMP_PROJ_CODE")
	private EmployeeProject employeeProject;

	//bi-directional many-to-one association to Reference
	@ManyToOne
	@JoinColumn(name="REIMB_RSON")
	private Reference reimbRson;

	public Reimbursement() {
	}

	public int getReimbCode() {
		return this.reimbCode;
	}

	public void setReimbCode(int reimbCode) {
		this.reimbCode = reimbCode;
	}

	public String getReimbAmt() {
		return this.reimbAmt;
	}

	public void setReimbAmt(String reimbAmt) {
		this.reimbAmt = reimbAmt;
	}

	public String getReimbApprvName() {
		return this.reimbApprvName;
	}

	public void setReimbApprvName(String reimbApprvName) {
		this.reimbApprvName = reimbApprvName;
	}

	public Date getReimbDate() {
		return this.reimbDate;
	}

	public void setReimbDate(Date reimbDate) {
		this.reimbDate = reimbDate;
	}

	public String getReimbDesc() {
		return this.reimbDesc;
	}

	public void setReimbDesc(String reimbDesc) {
		this.reimbDesc = reimbDesc;
	}

	public String getReimbMaxLimit() {
		return this.reimbMaxLimit;
	}

	public void setReimbMaxLimit(String reimbMaxLimit) {
		this.reimbMaxLimit = reimbMaxLimit;
	}

	public String getReimbPriod() {
		return this.reimbPriod;
	}

	public void setReimbPriod(String reimbPriod) {
		this.reimbPriod = reimbPriod;
	}

	public EmployeeProject getEmployeeProject() {
		return this.employeeProject;
	}

	public void setEmployeeProject(EmployeeProject employeeProject) {
		this.employeeProject = employeeProject;
	}

	public Reference getReimbRson() {
		return this.reimbRson;
	}

	public void setReimbRson(Reference reimbRson) {
		this.reimbRson = reimbRson;
	}

}